#ifndef ALICEFILESYSTEMMODEL_H
#define ALICEFILESYSTEMMODEL_H

#include <QFileSystemModel>
#include <QDateTime>

class AliceFileSystemModel : public QFileSystemModel
{
    Q_OBJECT
public:
    explicit AliceFileSystemModel(QObject *parent = 0);

signals:

public slots:
protected:

    QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const;
private:
    void getDescription( const QFileInfo & fileInfo, QDateTime &time, QString &note, QString &place ) const;
    void generateLabel(QFileInfo &file, QString &label, QString &toolTip, QDateTime time = QDateTime(), QString note = 0, QString place = 0) const;
    QString cutString(QString string) const;


};

#endif // ALICEFILESYSTEMMODEL_H
